package csu.rjxyg.action.constant;
/*
 * 
 * 
 * 消息模块
 * 消息分两种，一种是不需要处理的普通邮件消息
 * 另一种是需要返回值给发件者处理的通知消息
 * 
 */

public class InfoConstant {
	
	public static final String INFOS_SESSION							=			"infos";										//放入session中的所有消息
	public static final String INFO_EMAIL_SESSION 				= 			"info_email";							//放入session中的普通邮件
	public static final String INFO_EMAILS_SESSION 			= 			"info_emails";							//放入session中的普通邮件队列
	public static final String INFO_NOTICE_SESSION				=			"info_notice";							//放入session中的通知
	public static final String INFO_NOTICES_SESSION			=			"info_notices";						//放入session中的通知队列
	
	
	
	public static final String	COLLECTION_NAME					=			"info";										//消息集合名
	public static final String INFO_NAME									=			"infoName";							//消息名
	public static final String INFO_ID											=			"infoId"	;									//消息编号
	public static final String INFO_TYPE										=			"infoType";								//消息类别		--普通邮件-1  通知-2
	public static final String INFO_STATUS									=			"infoStatus";							//消息状态		--未读-1  已读-2  过期-3  废弃-4
	public static final String INFO_USER_NUMBER					=			"infoUserNumber";				//记录该消息还有多少人未彻底删除。
	public static final String INFO_TIME										=			"infoTime";								//	消息发送时间
	
	public static final String INFO_SEND_USER_ID					=			"infoSendUserId";					//发件人编号
	public static final String INFO_SEND_USER_NAME			=			"infoSendUserName";			//发件人姓名
	
	public static final String INFO_ACCEPT_USER_ID				=			"infoAcceptUserId";				//收件人编号	
	public static final String INFO_ACCEPT_USER_NAME		=			"infoAcceptUserName";		//收件人姓名
	
	public static final String INFO_BODY									=			"infoBody";								//正文
	public static final String INFO_ATTACH									=			"infoAttach";							//附件
	
	//此处开始为通知特有
	public static final String INFO_NOTICES_TYPE					=			"infoNoticesType";				//对通知的回复		--确定-1  拒绝-2
}
